//
//  WOFileSection.m
//  WOPrototype
//
//  Created by Olof Millberg on 2010-05-04.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import "WOFileSection.h"


@implementation WOFileSection
@synthesize fileList;

+ (id) fileSectionWithList:(NSMutableArray*)list
{
	WOFileSection *section = [[[WOFileSection alloc] initWithList:list] autorelease];
	return section;
}

- (id) initWithList:(NSMutableArray*)list
{
	if (self = [super init])
	{
		self.fileList = list;
	}
	return self;
}

- (NSInteger) numberOfRows
{
	return [fileList count];
}

- (NSString *) identifierAtRow:(NSInteger)row
{
	return @"FileCell";
}

- (CGFloat) heightForRow:(NSInteger)row
{
	return 64;
}

@end
